Skip to content

Comments

feat: add ais.stats widget support#31

Merged
sarahdayan merged 1 commit intomainfrom
feat/stats-widget
Feb 23, 2026
Merged

feat: add ais.stats widget support#31
sarahdayan merged 1 commit intomainfrom
feat/stats-widget

Conversation

@sarahdayan
Copy link
Member

@sarahdayan sarahdayan commented Feb 22, 2026

Summary

  • Registers the ais.stats widget in the runtime with passthrough transformParams (no serializable params beyond container)
  • Adds StatsWidget to the type union in types.ts
  • Enables ais.stats in the toolbar with cssClasses support (root, text) using disabledValue: undefined
  • Adds stats.test.tsx with 4 field behavior tests (cssClasses toggle on/off/absent/sub-field)
  • Adds AI tool tests for add and edit of stats widget (2 new tests)

Note

Partial prop support, only serializable props handled for now.

Capture d’écran 2026-02-22 à 14 43 29

@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for algolia-experiences-js ready!

Name Link
🔨 Latest commit 94558d5
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-js/deploys/699c9359888f8e000863e620
😎 Deploy Preview https://deploy-preview-31--algolia-experiences-js.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for algolia-experiences-react ready!

Name Link
🔨 Latest commit 94558d5
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-react/deploys/699c9359c66ee8000867d64d
😎 Deploy Preview https://deploy-preview-31--algolia-experiences-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sarahdayan sarahdayan merged commit bbf796b into main Feb 23, 2026
8 checks passed
@sarahdayan sarahdayan deleted the feat/stats-widget branch February 23, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants